<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title>Cadastro de Cliente</title>
</h:head>

<h:body>
	<h1>Clientes Cadastrados</h1><br /><br />

	<h:form>
		<h:dataTable value="#{clienteMB.buscaClientes()}" var="c">
			<h:column>
				<f:facet name="header">Nome</f:facet>
				<h:outputText value="#{c.nome}" />
			</h:column>
			<h:column>
				<f:facet name="header">Endereço</f:facet>
				<h:outputText value="#{c.endereco}" />
			</h:column>
			<h:column>
				<f:facet name="header">Telefone</f:facet>
				<h:outputText value="#{c.telefone}" />
			</h:column>
<!-- 			<h:column> -->
<!-- 				<h:dataTable value="#{c.dependentes}" var="d"> -->
<!-- 					<h:column> -->
<!-- 						<h:outputText value="#{d.nome}" /> -->
<!-- 					</h:column> -->

<!-- 				</h:dataTable> -->
<!-- 			</h:column> -->
		</h:dataTable>
	</h:form>

</h:body>
</html>
